x86/oprofile: put SVM only code under CONFIG_HVM
authorWei Liu <wei.liu2@citrix.com>
Fri, 17 Aug 2018 15:12:41 +0000 (16:12 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 21 Aug 2018 14:17:14 +0000 (15:17 +0100)
commit1385a14bfc09672513cb5bf9baafa881c8d93542
tree36e2e7bf8919b440146e682362dce54cf095870a
parentd6876bf23ddd85e160d87da74fb01001ff0b6509
x86/oprofile: put SVM only code under CONFIG_HVM

The code snippet in question is to detect NMI held by SVM until STGI
is called. When Xen doesn't even support HVM guests there is no need
to check svm_stgi_label.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/oprofile/op_model_athlon.c